#ifndef EXPERIMENTPLATEUI_H
#define EXPERIMENTPLATEUI_H

#include <QObject>
#include <QQmlEngine>
#include <QQuickWidget>
#include <QQuickWidget>
#include <QQmlContext>

class ExperimentPlateUI : public QQuickWidget
{
    Q_OBJECT
    QML_ELEMENT

signals:
    void nextPage(); // 切换到下一页
    void prevPage(); // 切换到上一页

public:
    ExperimentPlateUI();
    ~ExperimentPlateUI();

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

private:
    QObject *rootObj;

};

#endif // EXPERIMENTPLATEUI_H
